package chapter6;

public class Chapter6Main {

    public static void main(String[] args) {
//        int[] A = new int[]{4, 1, 3, 2, 16, 9, 10, 14, 8, 7};
//        int[] A = new int[]{15, 13, 9, 5, 12, 8, 7, 4, 0, 6, 2, 1};
//        size = A.length;
//        int num = MinPriorityQueue.extractMin(A);
//        System.out.println(num);
//        System.out.println(Arrays.toString(MinPriorityQueue.insert(A, -1)));
//        int num = MaxPriorityQueue.extractMax(A);
//        System.out.println(num);
//        System.out.println(Arrays.toString(MaxPriorityQueue.insert(A, 10)));
//        buildMaxHeap(A);
//        heapSort(A);
//        buildMinHeap(A);
//        System.out.println(Arrays.toString(A));

    }

    public static class MaxPriorityQueue {

    }

    public static class MinPriorityQueue {

    }
}
